home *** CD-ROM | disk | FTP | other *** search
- Path: Belgium.EU.net!news
- From: albert@sonytel.be (Albert Dorofiev)
- Newsgroups: comp.lang.c++
- Subject: Re: C++ newbie asks for help
- Date: 15 Mar 1996 08:23:52 GMT
- Organization: EUnet Belgium, Leuven, Belgium
- Message-ID: <4ib9eo$bga@news.Belgium.EU.net>
- References: <31488AC8.1557@cco.caltech.edu>
- NNTP-Posting-Host: iris.sonytel.be
- X-Newsreader: knews 0.9.5
-
- In article <31488AC8.1557@cco.caltech.edu>,
- Xuhua Li <xuhua@cco.caltech.edu> writes:
-
- > cout << "starting\a\n";
-
- add there 'flush':
- cout << "starting\a\n" << flush;
- it will force immediate output to the screen, otherwise
- the stream just waits until the buffer is full or the
- program has ended
-
- >
- >Program #2
-
- Sorry, man, this one works fine with me. I cannot see
- the problem, perhaps, because I am not in DOS.
-
- --
- Albert Dorofeev albert@sonytel.be
-
- Sony Telecom Europe Tel. 02/ 724 1980
- St.Stevens Woluwestraat 55 Fax 02/ 726 2686
- B-1130 Brussel, Belgium, Europe
-
-